home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•Games Parlour•
/
•Yahtzee•
/
Yahtzee •••••
/
Yahtzee •••••.rsrc
/
CODE_2.txt
< prev
next >
Wrap
Text File
|
1987-09-15
|
30KB
|
517 lines
# near model CODE resource
# jump table entries: 112-113 (2 of them)
fn00000000:
00000000 4E56 FFE6 link A6, -0x001A
00000004 48E7 0300 movem.l -[A7], D6,D7
00000008 3B7C 0018 FD44 move.w [A5 - 0x2BC], 0x18
0000000E 3B7C 0038 FD40 move.w [A5 - 0x2C0], 0x38 /* '8' */
00000014 7E04 moveq.l D7, 0x04
00000016 3D7C 0001 FFEC move.w [A6 - 0x14], 0x1
label0000001C:
0000001C 302E FFEC move.w D0, [A6 - 0x14]
00000020 E740 asl D0.w, 3
00000022 0640 FC32 addi.w D0, 0xFC32
00000026 4875 0000 pea.l [A5 + D0.w]
0000002A 3F3C 01B0 move.w -[A7], 0x1B0
0000002E 3F2D FD44 move.w -[A7], [A5 - 0x2BC]
00000032 3F3C 01D0 move.w -[A7], 0x1D0
00000036 3F2D FD40 move.w -[A7], [A5 - 0x2C0]
0000003A A8A7 syscall SetRect
0000003C 302D FD44 move.w D0, [A5 - 0x2BC]
00000040 0640 0030 addi.w D0, 0x30 /* '0' */
00000044 3B40 FD44 move.w [A5 - 0x2BC], D0
00000048 302D FD40 move.w D0, [A5 - 0x2C0]
0000004C 0640 0030 addi.w D0, 0x30 /* '0' */
00000050 3B40 FD40 move.w [A5 - 0x2C0], D0
00000054 526E FFEC addq.w [A6 - 0x14], 1
00000058 51CF FFC2 dbf D7, -0x40 /* 0000001C */
0000005C 3B7C 0018 FD44 move.w [A5 - 0x2BC], 0x18
00000062 3B7C 0038 FD40 move.w [A5 - 0x2C0], 0x38 /* '8' */
00000068 7E04 moveq.l D7, 0x04
0000006A 3D7C 0001 FFEC move.w [A6 - 0x14], 0x1
label00000070:
00000070 302E FFEC move.w D0, [A6 - 0x14]
00000074 E740 asl D0.w, 3
00000076 0640 FC0A addi.w D0, 0xFC0A
0000007A 4875 0000 pea.l [A5 + D0.w]
0000007E 3F3C 0180 move.w -[A7], 0x180
00000082 3F2D FD44 move.w -[A7], [A5 - 0x2BC]
00000086 3F3C 01A0 move.w -[A7], 0x1A0
0000008A 3F2D FD40 move.w -[A7], [A5 - 0x2C0]
0000008E A8A7 syscall SetRect
00000090 302D FD44 move.w D0, [A5 - 0x2BC]
00000094 0640 0030 addi.w D0, 0x30 /* '0' */
00000098 3B40 FD44 move.w [A5 - 0x2BC], D0
0000009C 302D FD40 move.w D0, [A5 - 0x2C0]
000000A0 0640 0030 addi.w D0, 0x30 /* '0' */
000000A4 3B40 FD40 move.w [A5 - 0x2C0], D0
000000A8 526E FFEC addq.w [A6 - 0x14], 1
000000AC 51CF FFC2 dbf D7, -0x40 /* 00000070 */
000000B0 7E02 moveq.l D7, 0x02
000000B2 3D7C 0001 FFEE move.w [A6 - 0x12], 0x1
label000000B8:
000000B8 702D moveq.l D0, 0x2D
000000BA C1EE FFEE muls.w D0, [A6 - 0x12]
000000BE 0640 003E addi.w D0, 0x3E /* '>' */
000000C2 3D40 FFEA move.w [A6 - 0x16], D0
000000C6 302E FFEA move.w D0, [A6 - 0x16]
000000CA 0640 002C addi.w D0, 0x2C /* ',' */
000000CE 3D40 FFE8 move.w [A6 - 0x18], D0
000000D2 7C05 moveq.l D6, 0x05
000000D4 3D7C 0001 FFEC move.w [A6 - 0x14], 0x1
label000000DA:
000000DA 302E FFEC move.w D0, [A6 - 0x14]
000000DE C1FC 000F muls.w D0, 0xF
000000E2 5B40 subq.w D0, 5
000000E4 3D40 FFE6 move.w [A6 - 0x1A], D0
000000E8 302E FFEC move.w D0, [A6 - 0x14]
000000EC C1FC 0018 muls.w D0, 0x18
000000F0 322E FFEE move.w D1, [A6 - 0x12]
000000F4 E741 asl D1.w, 3
000000F6 D041 add.w D0, D1
000000F8 0640 FB62 addi.w D0, 0xFB62
000000FC 4875 0000 pea.l [A5 + D0.w]
00000100 3F2E FFEA move.w -[A7], [A6 - 0x16]
00000104 3F2E FFE6 move.w -[A7], [A6 - 0x1A]
00000108 3F2E FFE8 move.w -[A7], [A6 - 0x18]
0000010C 302E FFE6 move.w D0, [A6 - 0x1A]
00000110 0640 000E addi.w D0, 0xE
00000114 3F00 move.w -[A7], D0
00000116 A8A7 syscall SetRect
00000118 526E FFEC addq.w [A6 - 0x14], 1
0000011C 51CE FFBC dbf D6, -0x46 /* 000000DA */
00000120 7C06 moveq.l D6, 0x06
00000122 3D7C 0009 FFEC move.w [A6 - 0x14], 0x9 /* '\t' */
label00000128:
00000128 302E FFEC move.w D0, [A6 - 0x14]
0000012C C1FC 000F muls.w D0, 0xF
00000130 5740 subq.w D0, 3
00000132 3D40 FFE6 move.w [A6 - 0x1A], D0
00000136 302E FFEC move.w D0, [A6 - 0x14]
0000013A 5140 subq.w D0, 8
0000013C C1FC 0018 muls.w D0, 0x18
00000140 322E FFEE move.w D1, [A6 - 0x12]
00000144 E741 asl D1.w, 3
00000146 D041 add.w D0, D1
00000148 0640 FABA addi.w D0, 0xFABA
0000014C 4875 0000 pea.l [A5 + D0.w]
00000150 3F2E FFEA move.w -[A7], [A6 - 0x16]
00000154 3F2E FFE6 move.w -[A7], [A6 - 0x1A]
00000158 3F2E FFE8 move.w -[A7], [A6 - 0x18]
0000015C 302E FFE6 move.w D0, [A6 - 0x1A]
00000160 0640 000E addi.w D0, 0xE
00000164 3F00 move.w -[A7], D0
00000166 A8A7 syscall SetRect
00000168 526E FFEC addq.w [A6 - 0x14], 1
0000016C 51CE FFBA dbf D6, -0x48 /* 00000128 */
00000170 302E FFEE move.w D0, [A6 - 0x12]
00000174 E740 asl D0.w, 3
00000176 0640 FC8A addi.w D0, 0xFC8A
0000017A 4875 0000 pea.l [A5 + D0.w]
0000017E 3F2E FFEA move.w -[A7], [A6 - 0x16]
00000182 3F3C 0065 move.w -[A7], 0x65 /* 'e' */
00000186 3F2E FFE8 move.w -[A7], [A6 - 0x18]
0000018A 3F3C 0073 move.w -[A7], 0x73 /* 's' */
0000018E A8A7 syscall SetRect
00000190 302E FFEE move.w D0, [A6 - 0x12]
00000194 E740 asl D0.w, 3
00000196 0640 FC5A addi.w D0, 0xFC5A
0000019A 4875 0000 pea.l [A5 + D0.w]
0000019E 3F2E FFEA move.w -[A7], [A6 - 0x16]
000001A2 3F3C 0074 move.w -[A7], 0x74 /* 't' */
000001A6 3F2E FFE8 move.w -[A7], [A6 - 0x18]
000001AA 3F3C 0082 move.w -[A7], 0x82
000001AE A8A7 syscall SetRect
000001B0 302E FFEE move.w D0, [A6 - 0x12]
000001B4 E740 asl D0.w, 3
000001B6 0640 FC72 addi.w D0, 0xFC72
000001BA 4875 0000 pea.l [A5 + D0.w]
000001BE 3F2E FFEA move.w -[A7], [A6 - 0x16]
000001C2 3F3C 00EE move.w -[A7], 0xEE
000001C6 3F2E FFE8 move.w -[A7], [A6 - 0x18]
000001CA 3F3C 00FC move.w -[A7], 0xFC
000001CE A8A7 syscall SetRect
000001D0 302E FFEE move.w D0, [A6 - 0x12]
000001D4 E740 asl D0.w, 3
000001D6 0640 FAAA addi.w D0, 0xFAAA
000001DA 4875 0000 pea.l [A5 + D0.w]
000001DE 3F2E FFEA move.w -[A7], [A6 - 0x16]
000001E2 3F3C 000A move.w -[A7], 0xA /* '\n' */
000001E6 3F2E FFE8 move.w -[A7], [A6 - 0x18]
000001EA 3F3C 0063 move.w -[A7], 0x63 /* 'c' */
000001EE A8A7 syscall SetRect
000001F0 302E FFEE move.w D0, [A6 - 0x12]
000001F4 E740 asl D0.w, 3
000001F6 0640 FA92 addi.w D0, 0xFA92
000001FA 4875 0000 pea.l [A5 + D0.w]
000001FE 3F2E FFEA move.w -[A7], [A6 - 0x16]
00000202 3F3C 0084 move.w -[A7], 0x84
00000206 3F2E FFE8 move.w -[A7], [A6 - 0x18]
0000020A 3F3C 00EC move.w -[A7], 0xEC
0000020E A8A7 syscall SetRect
00000210 486D FAD2 pea.l [A5 - 0x52E]
00000214 3F3C 006B move.w -[A7], 0x6B /* 'k' */
00000218 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000021C 3F3C 00F1 move.w -[A7], 0xF1
00000220 3F3C 0063 move.w -[A7], 0x63 /* 'c' */
00000224 A8A7 syscall SetRect
00000226 486D FACA pea.l [A5 - 0x536]
0000022A 3F3C 006B move.w -[A7], 0x6B /* 'k' */
0000022E 3F3C 0084 move.w -[A7], 0x84
00000232 3F3C 00F1 move.w -[A7], 0xF1
00000236 3F3C 00EC move.w -[A7], 0xEC
0000023A A8A7 syscall SetRect
0000023C 526E FFEE addq.w [A6 - 0x12], 1
00000240 51CF FE76 dbf D7, -0x18C /* 000000B8 */
00000244 4CDF 00C0 movem.l D6,D7, [A7]+
00000248 4E5E unlink A6
0000024A 4E75 rts
fn0000024C:
0000024C 4E56 FDF0 link A6, -0x0210
00000250 4E71 nop
00000252 4E71 nop
00000254 206E 0010 movea.l A0, [A6 + 0x10]
00000258 43EE FDF0 lea.l A1, [A6 - 0x210]
0000025C 703F moveq.l D0, 0x3F
label0000025E:
0000025E 22D8 move.l [A1]+, [A0]+
00000260 51C8 FFFC dbf D0, -0x6 /* 0000025E */
00000264 206E 000C movea.l A0, [A6 + 0xC]
00000268 43EE FEF0 lea.l A1, [A6 - 0x110]
0000026C 703F moveq.l D0, 0x3F
label0000026E:
0000026E 22D8 move.l [A1]+, [A0]+
00000270 51C8 FFFC dbf D0, -0x6 /* 0000026E */
00000274 206E 0014 movea.l A0, [A6 + 0x14]
00000278 2F08 move.l -[A7], A0
0000027A 594F subq.w A7, 4
0000027C 3F2E 0018 move.w -[A7], [A6 + 0x18]
00000280 486E FDF0 pea.l [A6 - 0x210]
00000284 A931 syscall NewMenu
00000286 201F move.l D0, [A7]+
00000288 205F movea.l A0, [A7]+
0000028A 2080 move.l [A0], D0
0000028C 206E 0014 movea.l A0, [A6 + 0x14]
00000290 2F10 move.l -[A7], [A0]
00000292 486E FEF0 pea.l [A6 - 0x110]
00000296 A933 syscall AppendMenu
00000298 206E 0014 movea.l A0, [A6 + 0x14]
0000029C 2F10 move.l -[A7], [A0]
0000029E 4267 clr.w -[A7]
000002A0 A935 syscall InsertMenu
000002A2 4E5E unlink A6
000002A4 205F movea.l A0, [A7]+
000002A6 4FEF 0012 lea.l A7, [A7 + 0x12]
000002AA 4ED0 jmp [A0]
fn000002AC:
000002AC 4E56 FEF0 link A6, -0x0110
000002B0 4E71 nop
000002B2 4E71 nop
000002B4 594F subq.w A7, 4
000002B6 3F3C 012C move.w -[A7], 0x12C
000002BA A9BF syscall GetRMenu
000002BC 2B5F FD26 move.l [A5 - 0x2DA], [A7]+
000002C0 2F2D FD26 move.l -[A7], [A5 - 0x2DA]
000002C4 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
000002CA A94D syscall AppendResMenu/AddResMenu
000002CC 2F2D FD26 move.l -[A7], [A5 - 0x2DA]
000002D0 4267 clr.w -[A7]
000002D2 A935 syscall InsertMenu
000002D4 41FA 014A lea.l A0, [PC + 0x14A /* 00000420, value 0x1A4E6577 */]
000002D8 43EE FEF0 lea.l A1, [A6 - 0x110]
000002DC 7006 moveq.l D0, 0x06
label000002DE:
000002DE 22D8 move.l [A1]+, [A0]+
000002E0 51C8 FFFC dbf D0, -0x6 /* 000002DE */
000002E4 3F3C 012D move.w -[A7], 0x12D
000002E8 486D FD22 pea.l [A5 - 0x2DE]
000002EC 487A 012C pea.l [PC + 0x12C /* 0000041A, value 0x446696C, pstring "File" */]
000002F0 486E FEF0 pea.l [A6 - 0x110]
000002F4 2F0E move.l -[A7], A6
000002F6 4EBA FF54 jsr [PC - 0xAC /* 0000024C */]
000002FA 41FA 00FA lea.l A0, [PC + 0xFA /* 000003F6, value 0x22556E64 '\"Und', pstring "Undo;(-;Cut/X;Copy/C;Paste/V;Clear" */]
000002FE 43EE FEF0 lea.l A1, [A6 - 0x110]
00000302 7008 moveq.l D0, 0x08
label00000304:
00000304 22D8 move.l [A1]+, [A0]+
00000306 51C8 FFFC dbf D0, -0x6 /* 00000304 */
0000030A 3F3C 012E move.w -[A7], 0x12E
0000030E 486D FD1E pea.l [A5 - 0x2E2]
00000312 487A 00DC pea.l [PC + 0xDC /* 000003F0, value 0x4456469, pstring "Edit" */]
00000316 486E FEF0 pea.l [A6 - 0x110]
0000031A 2F0E move.l -[A7], A6
0000031C 4EBA FF2E jsr [PC - 0xD2 /* 0000024C */]
00000320 41FA 00AA lea.l A0, [PC + 0xAA /* 000003CC, value 0x22556E64 '\"Und', pstring "Undo;(-;Cut/X;Copy/C;Paste/V;Clear" */]
00000324 43EE FEF0 lea.l A1, [A6 - 0x110]
00000328 7008 moveq.l D0, 0x08
label0000032A:
0000032A 22D8 move.l [A1]+, [A0]+
0000032C 51C8 FFFC dbf D0, -0x6 /* 0000032A */
00000330 3F3C 012F move.w -[A7], 0x12F
00000334 486D FD1A pea.l [A5 - 0x2E6]
00000338 487A 0088 pea.l [PC + 0x88 /* 000003C2, value 0x8596168, pstring "Yahtzee!" */]
0000033C 487A 0044 pea.l [PC + 0x44 /* 00000382, value 0x3F496E73 '?Ins', cstring "?Instructions ; ^1Scoring;(-;Hi"... */]
00000340 2F0E move.l -[A7], A6
00000342 4EBA FF08 jsr [PC - 0xF8 /* 0000024C */]
00000346 A937 syscall DrawMenuBar
00000348 2F2D FD1E move.l -[A7], [A5 - 0x2E2]
0000034C 3F3C 0001 move.w -[A7], 0x1
00000350 A93A syscall DisableItem
00000352 2F2D FD1E move.l -[A7], [A5 - 0x2E2]
00000356 3F3C 0003 move.w -[A7], 0x3
0000035A A93A syscall DisableItem
0000035C 2F2D FD1E move.l -[A7], [A5 - 0x2E2]
00000360 3F3C 0004 move.w -[A7], 0x4
00000364 A93A syscall DisableItem
00000366 2F2D FD1E move.l -[A7], [A5 - 0x2E2]
0000036A 3F3C 0005 move.w -[A7], 0x5
0000036E A93A syscall DisableItem
00000370 2F2D FD1E move.l -[A7], [A5 - 0x2E2]
00000374 3F3C 0006 move.w -[A7], 0x6
00000378 A93A syscall DisableItem
0000037A 4E5E unlink A6
0000037C 205F movea.l A0, [A7]+
0000037E 584F addq.w A7, 4
00000380 4ED0 jmp [A0]
00000382 3F49 6E73 move.w [A7 + 0x6E73], A1
00000386 7472 moveq.l D2, 0x72
00000388 7563 moveq.l D2, 0x63
0000038A 7469 moveq.l D2, 0x69
0000038C 6F6E ble +0x70 /* 000003FC */
0000038E 7320 moveq.l D1, 0x20
00000390 3B20 move.w -[A5], -[A0]
00000392 5E31 5363 6F72 696E 673B addq.b [[A1 + 0x6F72] + 0x696E673B], 7
0000039C 282D 3B48 move.l D4, [A5 + 0x3B48]
000003A0 6967 bvs +0x69 /* 00000409 */
000003A2 6820 bvc +0x22 /* 000003C4 */
000003A4 526F 6C6C addq.w [A7 + 0x6C6C], 1
000003A8 6572 bcs +0x74 /* 0000041C */
000003AA 733B moveq.l D1, 0x3B
000003AC 4578 706C chk.w D2, [0x0000706C]
000003B0 6169 bsr +0x6B /* 0000041B */
000003B2 6E20 bgt +0x22 /* 000003D4 */
000003B4 D248 add.w D1, A0
000003B6 6967 bvs +0x69 /* 0000041F */
000003B8 6820 bvc +0x22 /* 000003DA */
000003BA 526F 6C6C addq.w [A7 + 0x6C6C], 1
000003BE 6572 bcs +0x74 /* 00000432 */
000003C0 73D3 moveq.l D1, 0xFFFFFFD3
000003C2 0859 6168 bchg.b [A1]+, 0x68 /* 'h' */
// begin alternate branch 000003C4-000003C6
label000003C4:
000003C4 6168 bsr +0x6A /* 0000042E */
// end alternate branch 000003C4-000003C6
label000003C4: // (misaligned)
000003C6 747A moveq.l D2, 0x7A
000003C8 6565 bcs +0x67 /* 0000042F */
000003CA 2112 move.l -[A0], [A2]
000003CC 2255 movea.l A1, [A5]
000003CE 6E64 bgt +0x66 /* 00000434 */
000003D0 6F3B ble +0x3D /* 0000040D */
000003D2 282D 3B43 move.l D4, [A5 + 0x3B43]
// begin alternate branch 000003D4-000003D8
label000003D4:
000003D4 3B43 7574 move.w [A5 + 0x7574], D3
// end alternate branch 000003D4-000003D8
label000003D4: // (misaligned)
000003D6 7574 moveq.l D2, 0x74
000003D8 2F58 3B43 move.l [A7 + 0x3B43], [A0]+
// begin alternate branch 000003DA-000003DE
label000003DA:
000003DA 3B43 6F70 move.w [A5 + 0x6F70], D3
// end alternate branch 000003DA-000003DE
label000003DA: // (misaligned)
000003DC 6F70 ble +0x72 /* 0000044E */
000003DE 792F moveq.l D4, 0x2F
000003E0 433B 5061 .invalid 1, [PC + D5.w + 0x61] // invalid opcode 4 with b == 4
000003E4 7374 moveq.l D1, 0x74
000003E6 652F bcs +0x31 /* 00000417 */
000003E8 563B 436C addq.b <<invalid full ext with I/IS == 4>>, 3
000003EC 6561 bcs +0x63 /* 0000044F */
000003EE 7208 moveq.l D1, 0x08
000003F0 0445 6469 subi.w D5, 0x6469 /* 'di' */
000003F4 7412 moveq.l D2, 0x12
000003F6 2255 movea.l A1, [A5]
000003F8 6E64 bgt +0x66 /* 0000045E */
000003FA 6F3B ble +0x3D /* 00000437 */
label000003FC:
000003FC 282D 3B43 move.l D4, [A5 + 0x3B43]
00000400 7574 moveq.l D2, 0x74
00000402 2F58 3B43 move.l [A7 + 0x3B43], [A0]+
00000406 6F70 ble +0x72 /* 00000478 */
00000408 792F moveq.l D4, 0x2F
0000040A 433B 5061 .invalid 1, [PC + D5.w + 0x61] // invalid opcode 4 with b == 4
0000040E 7374 moveq.l D1, 0x74
00000410 652F bcs +0x31 /* 00000441 */
00000412 563B 436C addq.b <<invalid full ext with I/IS == 4>>, 3
00000416 6561 bcs +0x63 /* 00000479 */
00000418 7208 moveq.l D1, 0x08
0000041A 0446 696C subi.w D6, 0x696C /* 'il' */
// begin alternate branch 0000041C-0000041E
label0000041C:
0000041C 696C bvs +0x6E /* 0000048A */
// end alternate branch 0000041C-0000041E
label0000041C: // (misaligned)
0000041E 6512 bcs +0x14 /* 00000432 */
00000420 1A4E movea.b A5, A6
00000422 6577 bcs +0x79 /* 0000049B */
00000424 2047 movea.l A0, D7
00000426 616D bsr +0x6F /* 00000495 */
00000428 652F bcs +0x31 /* 00000459 */
0000042A 4E3B .invalid // invalid opcode 4
0000042C 4865 pea.l -[A5]
fn0000042E:
0000042E 6C70 bge +0x72 /* 000004A0 */
00000430 C93B 282D and.b [PC + D2 + 0x2D], D4
// begin alternate branch 00000432-00000438
label00000432:
00000432 282D 3B51 move.l D4, [A5 + 0x3B51]
label00000434: // (misaligned)
00000436 7569 moveq.l D2, 0x69
// end alternate branch 00000432-00000438
label00000432: // (misaligned)
label00000434:
00000434 3B51 7569 move.w [A5 + 0x7569], [A1]
00000438 742F moveq.l D2, 0x2F
0000043A 5108 subq.b A0, 8
export_14:
0000043C 4E56 FFEE link A6, -0x0012
00000440 48E7 0100 movem.l -[A7], D7
00000444 2F0E move.l -[A7], A6
00000446 4EBA FE64 jsr [PC - 0x19C /* 000002AC */]
0000044A 594F subq.w A7, 4
0000044C 3F3C 03E8 move.w -[A7], 0x3E8
// begin alternate branch 0000044E-00000450
label0000044E:
0000044E 03E8 .incomplete
// end alternate branch 0000044E-00000450
label0000044E: // (misaligned)
00000450 42A7 clr.l -[A7]
00000452 70FF moveq.l D0, 0xFFFFFFFF
00000454 2F00 move.l -[A7], D0
00000456 A97C syscall GetNewDialog
00000458 2B5F FA7E move.l [A5 - 0x582], [A7]+
0000045C 2F2D FA7E move.l -[A7], [A5 - 0x582]
// begin alternate branch 0000045E-00000462
label0000045E:
0000045E FA7E A86D .extension 0xA7E <<F/1/5>>, 0xA86D // unimplemented
// end alternate branch 0000045E-00000462
label0000045E: // (misaligned)
00000460 A86D syscall InitPort
00000462 2F2D FA7E move.l -[A7], [A5 - 0x582]
00000466 A915 syscall ShowWindow
00000468 2F2D FA7E move.l -[A7], [A5 - 0x582]
0000046C A873 syscall SetPort
0000046E 3F3C FFF6 move.w -[A7], 0xFFF6
00000472 3F3C FFE0 move.w -[A7], 0xFFE0
00000476 A878 syscall SetOrigin
label00000478:
00000478 4EBA FB86 jsr [PC - 0x47A /* 00000000 */]
0000047C 7E05 moveq.l D7, 0x05
0000047E 3D7C 0001 FFEE move.w [A6 - 0x12], 0x1
label00000484:
00000484 302E FFEE move.w D0, [A6 - 0x12]
00000488 E540 asl D0.w, 2
label0000048A:
0000048A 2F00 move.l -[A7], D0
0000048C 594F subq.w A7, 4
0000048E 302E FFEE move.w D0, [A6 - 0x12]
00000492 0640 012B addi.w D0, 0x12B
00000496 3F00 move.w -[A7], D0
00000498 A9BB syscall GetIcon
0000049A 221F move.l D1, [A7]+
0000049C 201F move.l D0, [A7]+
0000049E 0640 FA7E addi.w D0, 0xFA7E
// begin alternate branch 000004A0-000004AA
label000004A0:
000004A0 FA7E 2B81 .extension 0xA7E <<F/1/5>>, 0x2B81 // unimplemented
000004A4 0000 526E ori.b D0, 0x6E /* 'n' */
000004A8 FFEE .invalid <<F/7/7>>
// end alternate branch 000004A0-000004AA
label000004A0: // (misaligned)
000004A2 2B81 0000 move.l [A5 + D0.w], D1
000004A6 526E FFEE addq.w [A6 - 0x12], 1
000004AA 51CF FFD8 dbf D7, -0x2A /* 00000484 */
000004AE 7E04 moveq.l D7, 0x04
000004B0 3D7C 0001 FFEE move.w [A6 - 0x12], 0x1
label000004B6:
000004B6 302E FFEE move.w D0, [A6 - 0x12]
000004BA 0640 FD09 addi.w D0, 0xFD09
000004BE 4235 0000 clr.b [A5 + D0.w]
000004C2 302E FFEE move.w D0, [A6 - 0x12]
000004C6 E740 asl D0.w, 3
000004C8 0640 FC32 addi.w D0, 0xFC32
000004CC 4875 0000 pea.l [A5 + D0.w]
000004D0 302E FFEE move.w D0, [A6 - 0x12]
000004D4 E540 asl D0.w, 2
000004D6 0640 FA7E addi.w D0, 0xFA7E
000004DA 2F35 0000 move.l -[A7], [A5 + D0.w]
000004DE A94B syscall PlotIcon
000004E0 302E FFEE move.w D0, [A6 - 0x12]
000004E4 E340 asl D0.w, 1
000004E6 0640 FD0E addi.w D0, 0xFD0E
000004EA 3BAE FFEE 0000 move.w [A5 + D0.w], [A6 - 0x12]
000004F0 526E FFEE addq.w [A6 - 0x12], 1
000004F4 51CF FFC0 dbf D7, -0x42 /* 000004B6 */
000004F8 426D FD3E clr.w [A5 - 0x2C2]
000004FC 7E04 moveq.l D7, 0x04
000004FE 426E FFEE clr.w [A6 - 0x12]
label00000502:
00000502 302E FFEE move.w D0, [A6 - 0x12]
00000506 E540 asl D0.w, 2
00000508 2F00 move.l -[A7], D0
0000050A 594F subq.w A7, 4
0000050C 302E FFEE move.w D0, [A6 - 0x12]
00000510 0640 0190 addi.w D0, 0x190
00000514 3F00 move.w -[A7], D0
00000516 A9BB syscall GetIcon
00000518 221F move.l D1, [A7]+
0000051A 201F move.l D0, [A7]+
0000051C 0640 FA5A addi.w D0, 0xFA5A
00000520 2B81 0000 move.l [A5 + D0.w], D1
00000524 526E FFEE addq.w [A6 - 0x12], 1
00000528 51CF FFD8 dbf D7, -0x2A /* 00000502 */
0000052C 486D FA6E pea.l [A5 - 0x592]
00000530 3F3C 0168 move.w -[A7], 0x168
00000534 3F3C 0104 move.w -[A7], 0x104
00000538 3F3C 0188 move.w -[A7], 0x188
0000053C 3F3C 0124 move.w -[A7], 0x124
00000540 A8A7 syscall SetRect
00000542 422D FA59 clr.b [A5 - 0x5A7]
00000546 594F subq.w A7, 4
00000548 3F3C 071A move.w -[A7], 0x71A
0000054C A9B9 syscall GetCursor
0000054E 2B5F FA46 move.l [A5 - 0x5BA], [A7]+
00000552 4CDF 0080 movem.l D7, [A7]+
00000556 4E5E unlink A6
00000558 4E75 rts
export_15:
0000055A 4E56 FFF0 link A6, -0x0010
0000055E 4E71 nop
00000560 4E71 nop
00000562 41ED FE22 lea.l A0, [A5 - 0x1DE]
00000566 2F08 move.l -[A7], A0
00000568 A86E syscall InitGraf
0000056A 4EAD 0072 jsr [A5 + 0x72 /* export_10 */]
0000056E 4EAD 0072 jsr [A5 + 0x72 /* export_10 */]
00000572 4EAD 0072 jsr [A5 + 0x72 /* export_10 */]
00000576 4EAD 0072 jsr [A5 + 0x72 /* export_10 */]
0000057A 4EAD 0072 jsr [A5 + 0x72 /* export_10 */]
0000057E A8FE syscall InitFonts
00000580 A912 syscall InitWindows
00000582 A930 syscall InitMenus
00000584 A850 syscall InitCursor
00000586 486D FA7A pea.l [A5 - 0x586]
0000058A 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
0000058E 2B6D FA7A FDA4 move.l [A5 - 0x25C], [A5 - 0x586]
00000594 42A7 clr.l -[A7]
00000596 A97B syscall InitDialogs
00000598 3F3C FFFF move.w -[A7], 0xFFFF
0000059C 4267 clr.w -[A7]
0000059E 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000005A2 1B7C 0001 FA78 move.b [A5 - 0x588], 0x1
000005A8 422D FA79 clr.b [A5 - 0x587]
000005AC 422D FA77 clr.b [A5 - 0x589]
000005B0 4E5E unlink A6
000005B2 4E75 rts